package com.link.base.base.knowledge.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * @author qiqian.he
 * @comments 知识库
 */
public class Knowledge extends BasicModel {
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 一级分类
     */
    private String type;
    /**
     * 二级分类 值列表类型：KNOWLEDGE_SECONDARY_TYPE
     */
    private String secondaryType;
    /**
     * 三级分类 值列表类型：KNOWLEDGE_THIRD_TYPE
     */
    private String thirdType;
    /**
     * 作者
     */
    private String author;
    /**
     * 来源(PC/APP)
     */
    private String source;
    /**
     * 用户Id
     */
    private Long empId;
    /**
     * 浏览量
     */
    private Integer pageviews;
    /**
     * 阅读人数
     */
    private Integer readNum;
    /**
     * 收藏数量
     */
    private Integer collNum;
    /**
     * 点赞数
     */
    private Integer thumbUpNum;
    /**
     * 是否已经收藏
     */
    private String isColl;
    /**
     * 是否已经点赞
     */
    private String isThumbUp;

    /**案例库新增*/
    /**
     * 对象
     */
    private String caseObject;
    /**
     * 状态
     */
    private String status;
    /**
     * 备注
     */
    private String comments;

    /**知识树*/
    /**
     * 子列表
     */
    private List<Knowledge> children;
    /**
     * 父级Id
     */
    private Long parentId;
    /**
     * 父级名
     */
    private String parentName;

    /**当前节点名称*/
    private String currentName;
    private String text;
    /**
     * 值
     */
    private String value;
    /**
     * 状态
     */
    private String state;
    private String iconCls = "icon-blank";
    /**
     * 序列号
     */
    private String serial;
    /**
     * 名称
     */
    private String fstName;

    /**
     * 分享id
     */
    private Long shareId;

    /**
     * 公共标签
     */
    private String publicTag;
    /**
     * 原是否查询知识库正文内容标记，现已用attr1代替
     */
    private Boolean isShowContent;

    /**以下为app增加字段*/
    /**
     * 二级分类数量
     */
    private Integer secondaryTypeNum;
    /**
     * 记录查询出当前数据的下标
     */
    private int pos;
    /**
     * 记录查询出父数据的下标
     */
    private int parentPos;

    /**
     * 编辑器类型
     */
    private String editorType;

    /**
     *
     * 查询内容
     */
    private String searchContent;

    /**
     *
     * 所属目录值列表Id
     */
    private Long folderId;

    /**
     * 所属目录的路径文本
     */
    private String folderPath;
    /**
     * 浏览量，代替旧字段
     */
    private Integer pv;

    public Integer getPv() {
        return pv;
    }

    public void setPv(Integer pv) {
        this.pv = pv;
    }

    public String getFolderPath() {
        return folderPath;
    }

    public void setFolderPath(String folderPath) {
        this.folderPath = folderPath;
    }

    public Long getFolderId() {
        return folderId;
    }

    public void setFolderId(Long folderId) {
        this.folderId = folderId;
    }

    public String getSearchContent() {
        return searchContent;
    }

    public void setSearchContent(String searchContent) {
        this.searchContent = searchContent;
    }

    public String getCaseObject() {
        return caseObject;
    }

    public void setCaseObject(String caseObject) {
        this.caseObject = caseObject;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Boolean getShowContent() {
        return isShowContent;
    }

    public void setShowContent(Boolean showContent) {
        isShowContent = showContent;
    }

    public Integer getSecondaryTypeNum() {
        return secondaryTypeNum;
    }

    public void setSecondaryTypeNum(Integer secondaryTypeNum) {
        this.secondaryTypeNum = secondaryTypeNum;
    }

    public Boolean getIsShowContent() {
        return isShowContent;
    }

    public void setIsShowContent(Boolean isShowContent) {
        this.isShowContent = isShowContent;
    }

    public String getPublicTag() {
        return publicTag;
    }

    public void setPublicTag(String publicTag) {
        this.publicTag = publicTag;
    }

    public String getFstName() {
        return fstName;
    }

    public void setFstName(String fstName) {
        this.fstName = fstName;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }

    public int getParentPos() {
        return parentPos;
    }

    public void setParentPos(int parentPos) {
        this.parentPos = parentPos;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getCurrentName() {
        return currentName;
    }

    public void setCurrentName(String currentName) {
        this.currentName = currentName;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public List<Knowledge> getChildren() {
        return children;
    }

    public void setChildren(List<Knowledge> children) {
        this.children = children;
    }

    public String getIsThumbUp() {
        return isThumbUp;
    }

    public void setIsThumbUp(String isThumbUp) {
        this.isThumbUp = isThumbUp;
    }

    public String getIsColl() {
        return isColl;
    }

    public void setIsColl(String isColl) {
        this.isColl = isColl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSecondaryType() {
        return secondaryType;
    }

    public void setSecondaryType(String secondaryType) {
        this.secondaryType = secondaryType;
    }

    public String getThirdType() {
        return thirdType;
    }

    public void setThirdType(String thirdType) {
        this.thirdType = thirdType;
    }

    public String getEditorType() {
        return editorType;
    }

    public void setEditorType(String editorType) {
        this.editorType = editorType;
    }

    public Integer getPageviews() {
        return pageviews;
    }

    public void setPageviews(Integer pageviews) {
        this.pageviews = pageviews;
    }

    public Integer getReadNum() {
        return readNum;
    }

    public void setReadNum(Integer readNum) {
        this.readNum = readNum;
    }

    public Integer getCollNum() {
        return collNum;
    }

    public void setCollNum(Integer collNum) {
        this.collNum = collNum;
    }

    public Integer getThumbUpNum() {
        return thumbUpNum;
    }

    public void setThumbUpNum(Integer thumbUpNum) {
        this.thumbUpNum = thumbUpNum;
    }

    public Long getEmpId() {
        return empId;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getShareId() {
        return shareId;
    }

    public void setShareId(Long shareId) {
        this.shareId = shareId;
    }
}
